<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta http-equiv="Cache-Control" content="no-siteapp"/>
		<meta name="renderer" content="webkit" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
        <title>测试</title>
	</head>
	<body>
            <h4>测试</h4>
			URL: 
			<br />
			<textarea id="url" rows="6" cols="100" name="url">
http://10.45.3.182/cdl/Server/Server.php?proto=23&amp;param={"PROTO_VERSION":10000,"PROTO_RESULT":1001,"PROTO_SESSION_ID":"0","PROTO_UPDATE_URL":""}&amp;id=10001&amp;platform_id=3&amp;device_id=10&amp;session=abcdefg</textarea>
			<br />
			<button id="submit" name="Submit">Submit</button>
			
			<br />
			<br />
			<textarea id="result" rows="6" cols="100" name="url"></textarea>

        <!--[if (gte IE 9) | !(IE)]><!-->
		<script type="text/javascript" src="./js/jquery-2.1.1.min.js"></script>
        <script type="text/javascript">

        
	        $(document).ready(function(){
				$("#submit").click(function(e){
					htmlobj=$.ajax({
						url:$("#url").val(),
						async:false,
						/*
						success: function(req) {
							alert(111);
							$("#result").html(htmlobj.responseText);
						},
						complete: function() {
							$("#result").html(htmlobj.responseText);
							alert(222);
						},
						error: function() {
							alert(333);
						}
						*/
					});
					response = htmlobj.responseText;
					$("#result").text(response);
					//alert(htmlobj.responseText);
				});
			  
			});
			 
    	</script>
        <!--<![endif]-->
    </body>
</html>